type github.com/gotd/td/telegram.dcPoolCache
12 uses
github.com/gotd/td/telegram (current package)
client.go#L146: subConns *dcPoolCache
client.go#L148: filePools *dcPoolCache
logout.go#L68: for _, cache := range []*dcPoolCache{c.subConns, c.filePools} {
sub_conns.go#L26: type dcPoolCache struct {
sub_conns.go#L36: func newDCPoolCache(max int64, kind string) *dcPoolCache {
sub_conns.go#L37: return &dcPoolCache{
sub_conns.go#L46: func (p *dcPoolCache) len() int {
sub_conns.go#L53: func (p *dcPoolCache) drain() []CloseInvoker {
sub_conns.go#L66: func (p *dcPoolCache) evict(dc int, conn CloseInvoker) {
sub_conns.go#L93: cache *dcPoolCache,
sub_conns.go#L131: func (c *Client) cachedDC(ctx context.Context, cache *dcPoolCache, dc int) (CloseInvoker, error) {
sub_conns.go#L157: func (c *Client) createCachedDC(ctx context.Context, cache *dcPoolCache, dc int, call *subConnCall) {
 |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |